package com.example.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @CreateTime 2025-02-25
 * @Description 封装返回给前端数据
 */

@Data
public class UserInfoVo {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private String password;

    private String email;

    private String addr;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTm;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTm;

}
